//package com.qianbei.common.page.tab;
//
//import android.os.Bundle;
//import android.support.annotation.Nullable;
//import android.support.v4.view.ViewPager;
//import android.view.LayoutInflater;
//import android.view.View;
//import android.view.ViewGroup;
//
//import com.qianbei.R;
//import com.qianbei.common.adapter.CommonTitleTabAdapter;
//import com.qianbei.common.base.BaseFragment;
//
///**
// * Created by gml on 16/9/2.
// */
//public abstract class TabFramgment extends BaseFragment{
//    private CommonTitleTabAdapter mGroupAdapter;
//    private ViewPager mViewPage;
//    private PagerSlidingTabStrip mPagerSlidingTabStrip;
////    private List<CommonGroupTitleModel> mTitleList = new ArrayList<>();
////
////    private Fragment[] mFragments={new ThemeListFragment(),new ThemeListFragment(),new ThemeListFragment()};
//
//
//
//    @Override
//    public View onCreateView(LayoutInflater inflater,
//                             @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//
//        View view = View.inflate(getActivity(), R.layout.common_tab_layout_fragment, null);
//        mViewPage = (ViewPager) view.findViewById(R.id.view_pager);
//        mPagerSlidingTabStrip = (PagerSlidingTabStrip) view.findViewById(R.id.pager_tabs);
//
////        mTitleList.add(createTypeModel("approved",getString(R.string.passed)));
////        mTitleList.add(createTypeModel("notpass",getString(R.string.no_pass)));
////        mTitleList.add(createTypeModel("checkpending",getString(R.string.pending)));
//
//        mGroupAdapter = getAdapter();
////        new CommonTitleTabAdapter(getActivity().getSupportFragmentManager(), mTitleList,
////                mFragments, ConstantValue.TYPE_KEY);
//        mViewPage.setAdapter(mGroupAdapter);
//
//        mPagerSlidingTabStrip.setViewPager(mViewPage);
//        return view;
//    }
//
//
//    /**
//     * 返回listView adapter
//     *
//     * @return
//     */
//    public abstract CommonTitleTabAdapter getAdapter();
//
//
//}
